package com.strongbj.iot.devices.newlight.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.strongbj.iot.devices.newlight.entity.BindNum;
import com.strongbj.iot.devices.newlight.entity.Reader;

public interface ReaderService extends IService<Reader> {
	
	/**
	 * 根据room获取Reader
	 * @return
	 */
	public List<Reader> getReadersByRoom(String room);
	
	/**
	 * 根据code获取Reader绑定标签数量
	 * @param code
	 * @return
	 */
	public BindNum getBindNumByCode(String code);
	
}
